﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Daphne.SharedMetro;

namespace Daphne.Board2DMetro.Style
{
    /// <summary>
    /// Class returning the style by given game theme
    /// </summary>
    internal static class StyleManager
    {
        /// <summary>
        /// Returns given style
        /// </summary>
        public static IStyle GetStyle(eGameTheme theme)
        {
            switch(theme)
            {
                case eGameTheme.Classic:
                    return new ClassicStyle();
                default:
                    throw new ArgumentException("Unsupported style.");
            }
        }
    }
}
